Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGPathSeg

Extended by SVGPathSegClosePath, SVGPathSegMovetoAbs, SVGPathSegMovetoRel, SVGPathSegLinetoAbs, SVGPathSegLinetoRel, SVGPathSegCurvetoCubicAbs, SVGPathSegCurvetoCubicRel, SVGPathSegCurvetoQuadraticAbs, SVGPathSegCurvetoQuadraticRel, SVGPathSegArcAbs, SVGPathSegArcRel, SVGPathSegLinetoHorizontalAbs, SVGPathSegLinetoHorizontalRel, SVGPathSegLinetoVerticalAbs, SVGPathSegLinetoVerticalRel, SVGPathSegCurvetoCubicSmoothAbs, SVGPathSegCurvetoCubicSmoothRel, SVGPathSegCurvetoQuadraticSmoothAbs, SVGPathSegCurvetoQuadraticSmoothRel, SVGPathSegClosePath, SVGPathSegMovetoAbs, SVGPathSegMovetoRel, SVGPathSegLinetoAbs, SVGPathSegLinetoRel, SVGPathSegCurvetoCubicAbs, SVGPathSegCurvetoCubicRel, SVGPathSegCurvetoQuadraticAbs, SVGPathSegCurvetoQuadraticRel, SVGPathSegArcAbs, SVGPathSegArcRel, SVGPathSegLinetoHorizontalAbs, SVGPathSegLinetoHorizontalRel, SVGPathSegLinetoVerticalAbs, SVGPathSegLinetoVerticalRel, SVGPathSegCurvetoCubicSmoothAbs, SVGPathSegCurvetoCubicSmoothRel, SVGPathSegCurvetoQuadraticSmoothAbs, SVGPathSegCurvetoQuadraticSmoothRel
Properties
const unsigned short
PATHSEG_ARC_ABS = 10
Corresponds to a "absolute arcto" (A) path data command.
const unsigned short
PATHSEG_ARC_REL = 11
Corresponds to a "relative arcto" (a) path data command.
const unsigned short
PATHSEG_CLOSEPATH = 1
Corresponds to a "closepath" (z) path data command.
const unsigned short
PATHSEG_CURVETO_CUBIC_ABS = 6
Corresponds to a "absolute cubic Bézier curveto" (C) path data command.
const unsigned short
PATHSEG_CURVETO_CUBIC_REL = 7
Corresponds to a "relative cubic Bézier curveto" (c) path data command.
const unsigned short
PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16
Corresponds to a "absolute smooth cubic curveto" (S) path data command.
const unsigned short
PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17
Corresponds to a "relative smooth cubic curveto" (s) path data command.
const unsigned short
PATHSEG_CURVETO_QUADRATIC_ABS = 8
Corresponds to a "absolute quadratic Bézier curveto" (Q) path data command.
const unsigned short
PATHSEG_CURVETO_QUADRATIC_REL = 9
Corresponds to a "relative quadratic Bézier curveto" (q) path data command.
const unsigned short
PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18
Corresponds to a "absolute smooth quadratic curveto" (T) path data command.
const unsigned short
PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19
Corresponds to a "relative smooth quadratic curveto" (t) path data command.
const unsigned short
PATHSEG_LINETO_ABS = 4
Corresponds to a "absolute lineto" (L) path data command.
const unsigned short
PATHSEG_LINETO_HORIZONTAL_ABS = 12
Corresponds to a "absolute horizontal lineto" (H) path data command.
const unsigned short
PATHSEG_LINETO_HORIZONTAL_REL = 13
Corresponds to a "relative horizontal lineto" (h) path data command.
const unsigned short
PATHSEG_LINETO_REL = 5
Corresponds to a "relative lineto" (l) path data command.
const unsigned short
PATHSEG_LINETO_VERTICAL_ABS = 14
Corresponds to a "absolute vertical lineto" (V) path data command.
const unsigned short
PATHSEG_LINETO_VERTICAL_REL = 15
Corresponds to a "relative vertical lineto" (v) path data command.
const unsigned short
PATHSEG_MOVETO_ABS = 2
Corresponds to a "absolute moveto" (M) path data command.
const unsigned short
PATHSEG_MOVETO_REL = 3
Corresponds to a "relative moveto" (m) path data command.
const unsigned short
PATHSEG_UNKNOWN = 0
The unit type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
unsigned short
pathSegType
The type of the path segment as specified by one of the constants defined on this interface.
DOMString
pathSegTypeAsLetter
The type of the path segment, specified by the corresponding one character command name.
Referenced by
SVGPathSegListreplaceItem(...)